<%@ page language="java" contentType="text/html; charset=utf-8" import="net.fckeditor.*" import="com.hykj.valuebean.*"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../css/header.css"></link>
<title>修改</title>
</head>
<body>
<center><jsp:include page="/admin/head.jsp"><jsp:param
		name="menu" value="home"></jsp:param></jsp:include>
<table>
	<tr>
		<td>
		<c:set var="indexPic" value="${requestScope.indexPicIns }"></c:set>
		<c:if test = "${empty indexPic}" >查看失败</c:if>
		<c:if test = "${!empty indexPic }">
			<form name="indexPic" action="updateIndexPic" method="post" enctype="multipart/form-data">
			<table>
				<tr><td><input type="hidden" name="id" value="${indexPic.id }"></input></td></tr>
				
				<tr>
					<td>类别</td>
					<td>
						<select name="category">
							<option value="1">左侧大图</option>
							<option value="2">右侧小图</option>
						</select>
					</td>
				</tr>
				<tr>
		<td>顺序</td>
		<td>
			<select name="sequ">
				<option value="1">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
			</select>
		</td>
	</tr>
				<tr>
					<td>图片摘要</td>
					<td><input value="${indexPic.describes }" type="text" name="describes"></input></td>
				</tr>

				<tr>
					<td>上传图片</td>
					<td><input type="file" name="dir"></input></td>
				</tr>
				<tr>
					<td>链接地址</td>
					<td><input value="${indexPic.picHref }" type="text" name="picHref"></input></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit"></input><input
						type="reset"></input></td>
				</tr>
			</table>
			</form>
		</c:if>
		</td>
		<td></td>
	</tr>
</table>

<jsp:include page="/admin/foot.jsp" /></center>
</body>
</html>